import { Dispatch } from "redux"
import {SETLISTTYPE,SETLISTDATA,LISTITEM} from "../types/store.d"

export const setList = (params:string) => ({
    type: SETLISTTYPE,
    payload:params
})
export const setListData = (params:LISTITEM[]) => ({
    type: SETLISTDATA,
    payload:params
})
